package com.bzkj.basicinfo.domain.ncc;

import com.bzkj.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 仓库实体类，定义仓库的基本属性，如仓库代码、名称、公司ID等。
 * 继承自 BaseEntity，包含通用属性。
 *
 * @Author: Admin
 * @Description: 定义仓库的属性及其对应的 getter 和 setter 方法。
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Warehouse extends BaseEntity {

    //    private String id;

    private String stoCode;

    private String stoName;

    private String stoId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    private String companyId;

    private String enableState;

    private String wmsEnableState;

    private String gubflag;

    private String csflag;

    private String creator;

    private String def1;

    private String def2;

    private String def3;

    private String def4;

    private String def5;

    private String address;

    private String contactPerson;

    private String contactPhone;

    private String area;

    private String capacity;

    private String remark;

    private String picClassId;

    // 规则id
    private List<String> ruleId;

    private String ruleIds;
    // 规则id
    private List<String> ruleIdsss;

    private String ruleIdss;

    private String picClassCode;
    private String picClassName;
    private String picPath;

    /**
     * 库区数量
     */
    private Integer areaNum;

    /**
     * 货位数量
     */
    private Integer unitNum;

    /**
     * 已用货位数量
     */
    private Integer usedUnitNum;

}
